<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>

{#{% for name in list_name %}#}
{#    <li>{{ name }}</li>#}
{#{% endfor %}#}

{# 换行打印 #}
{#{% for course in list01 %}#}
{#    <div>#}
{#        {% for coursename in course %}#}
{#        <p><b>{{ coursename }}</b></p>#}
{#        {% endfor %}#}
{#    </div>#}
{#{% endfor %}#}

{# 一行打印 #}
{% for course in list01 %}
    <div>
        {# forloop.counter 显示当前迭代的计数  #}
        {{ forloop.counter }}{{ course.0 }}&emsp;&emsp;{{ course.1 }}
    </div>
{% endfor %}

</body>
</html>